#ifndef __LEVEL_HPP__
#define __LEVEL_HPP__

#include <SFML/Graphics.hpp>
#include <string>
#include <list>
#include "Platform.hpp"

class Level
{
    public :
    
       Level();
       ~Level();
       
       void loadFromFile(const std::string& fileName);
       
       sf::Vector2f startPos() const;
       
       void draw(sf::RenderTarget &target);
        
       void clear();
       
    private :
    
        sf::Vector2f m_startPos;
        std::list<Platform*> m_platforms;
};

#endif /* __LEVEL_HPP__ */

